package com.suneee.base.config;

import com.suneee.context.processor.config.Config;
import com.suneee.context.processor.config.ConfigDataType;
import com.suneee.context.processor.config.ConfigParam;

@Config(name = "服务配置", path = "serviceConfig")
public class ServiceConfig {

	@ConfigParam(name = "fileUrl", label = "文件中心地址", help = "文件中心地址", type = ConfigDataType.TEXT, required = true)
	private String fileUrl;

	@ConfigParam(name = "messageUrl", label = "消息中心地址", help = "消息中心地址", type = ConfigDataType.TEXT, required = true)
	private String messageUrl;

	@ConfigParam(name = "accountUrl", label = "统一用户中心URL", help = "统一用户中心URL", type = ConfigDataType.TEXT, required = true)
	private String accountUrl;

	@ConfigParam(name = "messagePrefix", label = "短信公共前缀", help = "短信公共前缀", required = true)
	private String messagePrefix = "";

	@ConfigParam(name = "erpUrl", label = "ERP接口调用地址", help = "ERP接口调用地址", required = true)
	private String erpUrl = "";

	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}

	public String getMessageUrl() {
		return messageUrl;
	}

	public void setMessageUrl(String messageUrl) {
		this.messageUrl = messageUrl;
	}

	public String getAccountUrl() {
		return accountUrl;
	}

	public void setAccountUrl(String accountUrl) {
		this.accountUrl = accountUrl;
	}

	public String getMessagePrefix() {
		return messagePrefix;
	}

	public void setMessagePrefix(String messagePrefix) {
		this.messagePrefix = messagePrefix;
	}

	public String getErpUrl() {
		return erpUrl;
	}

	public void setErpUrl(String erpUrl) {
		this.erpUrl = erpUrl;
	}

}
